]> dgit.raspbian.org Git - gnome-shell.git/commit
main: Register session with GDM on startup
authorAdrian Vovk <adrianvovk@gmail.com>
Thu, 1 May 2025 22:34:52 +0000 (18:34 -0400)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Nov 2025 13:42:59 +0000 (14:42 +0100)
commit6457a1454a05bac8f7e172c17fbcb2b5baeae619
treee868ff4a94edc6ff41df5dd1e9168d5126a04cbf
parent6606cc61576e7e1226add0f75391f187abbed813
main: Register session with GDM on startup

When no monitor is connected, gnome-shell starts but never emits
`startup-prepared` nor `startup-complete`. As a result, GDM never
detects that the shell has launched and plymouthd remains running,
preventing the system from reaching graphical.target.

Ensure that registerSessionWithGDM() is called even when no monitor
is connected, so GDM can terminate plymouthd and allow the system to
reach graphical.target properly.

Part of https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/285

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3708>
(cherry picked from commit 32a013304f8c507cb72a5419c7f4b7c553253520)
js/ui/main.js